<template>
  <div>
    <el-date-picker
      size="mini"
      v-model="formInline.starttime"
      type="date"
      value-format="yyyy-MM-dd"
      placeholder="选择日期"
      :picker-options="pickerOptions0"
      style="width: 130px; margin-left: 10px"
    >
    </el-date-picker>
  </div>
</template>

<script>
export default {
   props:{
        formInline:Object
   },
  data() {
    return {
      formInline1:this.obj,
      pickerOptions0: {
        disabledDate(time) {
          return time.getTime() > Date.now() - 8.64e6; //如果没有后面的-8.64e6就是不可以选择今天的
        },
      },
    };
  },
};
</script>

<style  scoped>
</style>